package com.ruoyi.ora.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收藏对象 ora_assets_collect
 * 
 * @author liuwp
 * @date 2025-03-20
 */
public class AssetsCollect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 收藏类型 */
    @Excel(name = "收藏类型", dictType = "ora_assets_type")
    private Integer collectType;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 收藏资产id */
    @Excel(name = "收藏资产id")
    private Long assetsId;

    private VoiceRecord voiceRecord;
    private VoiceMemoir voiceMemoir;
    private VoiceStory voiceStory;

    public VoiceStory getVoiceStory() {
        return voiceStory;
    }

    public void setVoiceStory(VoiceStory voiceStory) {
        this.voiceStory = voiceStory;
    }

    public VoiceMemoir getVoiceMemoir() {
        return voiceMemoir;
    }

    public void setVoiceMemoir(VoiceMemoir voiceMemoir) {
        this.voiceMemoir = voiceMemoir;
    }

    public VoiceRecord getVoiceRecord() {
        return voiceRecord;
    }

    public void setVoiceRecord(VoiceRecord voiceRecord) {
        this.voiceRecord = voiceRecord;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCollectType(Integer collectType) 
    {
        this.collectType = collectType;
    }

    public Integer getCollectType() 
    {
        return collectType;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAssetsId(Long assetsId) 
    {
        this.assetsId = assetsId;
    }

    public Long getAssetsId() 
    {
        return assetsId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("collectType", getCollectType())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("assetsId", getAssetsId())
            .toString();
    }
}
